/*
* @Author: MR.Wang
* @Date:   2017-06-03 12:18:27
* @Last Modified by:   MR.Wang
* @Last Modified time: 2017-06-14 18:47:21
*/

'use strict'
export default {
	setAuthUser ({ commit }, authUser) {
	  commit('SET_AUTHUSER', authUser)
	},
	nuxtServerInit ({ commit }, { req }) {
	  if (req.session && req.session.sessionid) {
	    commit('SET_USER_SESSION', req.session.sessionid)
	  }
	}
}